package com.ebelter.temperature.activitys;


import android.graphics.Color;
import android.view.View;
import android.widget.TextView;
import com.ebelter.btcomlib.bases.activity.BaseActivity;
import com.ebelter.btcomlib.utils.AppUtils;
import com.ebelter.btcomlib.utils.StatusBarUtil;
import com.ebelter.btcomlib.utils.log.LogUtils;
import com.ebelter.temperature.R;

public class T_SoftVersionActivity extends BaseActivity {

    public static final String TAG="BPM_SplashActivity";


    TextView topTitleTv;
    TextView currentVersion_tv;

    @Override
    protected int loadLayoutById() {
        return R.layout.activity_t_softversion;
    }

    @Override
    protected void initView() {
        FV();
    }

    private void FV() {
        StatusBarUtil.setColor(this, Color.parseColor("#ffffff"),0);
        StatusBarUtil.setDarkStatusIcon(this,true);
        topTitleTv=findViewById(R.id.top_title_tv);
        currentVersion_tv=findViewById(R.id.currentVersion_tv);

    }

    @Override
    protected void initData() {
        topTitleTv.setText("软件版本");


        currentVersion_tv.setText(AppUtils.getVerName(this));

    }

    //返回键被按下
    public void backClick(View view){
        LogUtils.i(TAG,"返回键被按下");
        finish();
    }


    //返回键被按下
    public void checkForUpdateClick(View view){
        LogUtils.i(TAG,"checkForUpdateClick");

    }


}
